package ch03;

class OperatorEx24 {
	public static void main(String[] args) {
		System.out.println(10.0d == 10.0f); // true
		System.out.println(0.1d == 0.1f); // false
		System.out.println(0.1f); // 0.1
		System.out.println(0.1d); // 0.1
		System.out.println((double)10.0f); // 10.0
		System.out.println((double)0.1f); // 0.10000000149011612
		
		System.out.println(0.1d == (double)0.1f); // false
		System.out.println(0.1f == (double)0.1f); // true				
		System.out.println((float)0.1d == 0.1f); // true		
	}
}